#include <stdio.h>
#include <stdlib.h>

int main()
{
    char string[4];
    int dec = 0xde;
    int hex = 111;
    printf("---%x---%d-%x---\n", dec, dec, hex);
    sprintf(string, "%d", dec);
    printf("-----%s-----\n", string);
    printf("=====%d---====%d-\n", atoi(string), strtoul(string, NULL, 10));
}
